const webpack = require('webpack')
module.exports={
    configureWebpack: {
        plugins: [
            new webpack.ProvidePlugin({
                $: "jquery",
                jQuery: "jquery",
                "windows.jQuery": "jquery"
            })
        ],
    },
    devServer:{
        port:80,
        disableHostCheck: true,
        proxy:{
            '/api': {
                target: 'http://localhost:90',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
}